package source;

/**
 * 
 * @author Tristan Lohman
 *
 */
public class Terrain {
	protected TerrainType type;
	protected boolean passable;
	protected int movementCost;
	protected final String picture;
	
	Terrain(TerrainType type){
		this.type=type;
		this.passable=type.passable();
		this.movementCost=type.movementCost();
		this.picture=type.picture();
	}
	
	public TerrainType getType(){return type;}
	public boolean isPassable(){return passable;}
	public int getMovementCost(){return movementCost;}
	public String getPicture(){return picture;}
	
}
